import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

import Login from '@/page/login'
import Index from '@/page/index'
import Test from '@/page/test'


Vue.use(Router)

export default new Router({
  routes: [
    {
		path: '/',
		name: 'index',
		component: Index,
		children: [
	        
		]
    },

    {
		path: '/test',
		name: 'test',
		component: Test,
    },

    {
		path: '/login',
		name: 'login',
		component: Login,
    },

  ]
})
